﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OpenTK.Graphics.OpenGL;
using OpenTK;

namespace SimpleModeler.Textures
{
    /// <summary>
    /// Stellt eine Textur dar
    /// </summary>
    [Serializable()]
    public abstract class Texture
    {
        #region Properties
        /// <summary>
        /// ID der Texture
        /// </summary>
        public int TextureID { get; protected set; }
        /// <summary>
        /// Gibt an, ob die Textur geladen wurde
        /// </summary>
        public bool Loaded { get; protected set; }
        #endregion // Properties


        #region Constructors
        /// <summary>
        /// Konstruktor
        /// </summary>
        public Texture() { this.Loaded = false; }
        #endregion // Constructors


        #region Methods
        /// <summary>
        /// Lädt die Textur
        /// </summary>
        public abstract void LoadTexture();
        #endregion // Methods
    }
}
